<template>
	<div class="help-center">
		<div class="main">
			<iframe ref="refIframe" :src="frameSrc" frameborder="0" width="100%" height="100%"></iframe>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				frameSrc: ''
			}
		},
		created() {
			let eiipToken = sessionStorage.getItem('eiip-token');
			let ssoToken = sessionStorage.getItem('sso-token');
			this.frameSrc = `${API.CMS_HELP_URL}?eiipToken=${eiipToken}&ssoToken=${ssoToken}`
		},
		mounted() {
			
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.help-center {
		height: calc(100vh - 80px);
		background: #f8f8f8;
			
		.main {
			height: 100%;
			background-color: white;
			overflow-y: hidden;
			box-sizing: border-box;
			position: relative;
		}
	}
</style>
